/*
 * To change this license header, choose License Headers in Project Properties.
 * To change this template file, choose Tools | Templates
 * and open the template in the editor.
 */

/* 
 * File:   main.cpp
 * Author: Administrator
 *
 * Created on 2017年5月8日, 下午2:44
 */

#include <iostream>

using namespace std;

//声明函数
int myfunc();

int main()
{
    int num;
    //调用函数
    num = myfunc();
    cout << "hello, My world!num = " << num << endl;
    return 0;
}

//定义函数
int myfunc(){
    return 101;
}

